package com.sandy.demo.jpa;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AuthUserRepository extends JpaRepository<AuthUser, String> {
    AuthUser findFirstByUsername(String name);
    boolean existsByUsername(String name);
}